GUI Help > General > paintGadget

paintGadget
paintGadget handle gadget

Description:
Redraws the specified gadget to visually show any changes made to it. Most gadgets will do this automatically when necessary. However, you should call paintGadget after finishing drawing operations on a canvas gadget.
Canvases do not update themselves automatically. Use the drawing commands to edit the gadget, then call paintGadget to show the changes.

Return Value:


Parameters:
gadget The gadget to be repainted.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)